package com.atguigu.mybatisplus.entity;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * @author MI
 * @ClassName NickUser.java
 * @createTime 2021年08月24日 17:05:00
 */
@Data
public class NickUser extends User implements Serializable {
    private static final long serialVersionUID = 1L;
    private String nickName;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.NO_CLASS_NAME_STYLE);
    }
}
